package com.best.eureka.client;

import com.best.eureka.config.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Jiang Akang
 * employeeId: BG435424
 * @date 2021/7/23
 **/

// name: 微服务的名称 path: 服务生成者的调用前缀
@FeignClient(name = "provider", path = "/provider", configuration = FeignConfiguration.class)
public interface ProviderClient {

    @GetMapping("/find/instance")
    String service();

}
